package com.yunhe.common.model.base;

import com.yunhe.common.model.data.Measurement;

import java.util.List;

/**
 * @title: DataTransferDTO
 * @Author Chen Lun
 * @Date: 2021/1/20
 */
public class DataTransferDTO {
    /**
     * 量测历史列表
     */
    private List<Measurement> measurements;
    /**
     * 转移时间范围
     */
    private List<String> dtime;
    /**
     * 数据转移类型
     */
    private String type;
    /**
     * 项目代号
     */
    private Long stationCode;
    /**
     * 时间戳
     */
    private Long rtime = System.currentTimeMillis();
    /**
     * 点号
     */
    private Long pointNumber;
    /**
     * 开始时间
     */
    private Long startRtime;

    /**
     * 结束时间
     */
    private Long endRtime;

    public List<Measurement> getMeasurements() {
        return measurements;
    }

    public void setMeasurements(List<Measurement> measurements) {
        this.measurements = measurements;
    }

    public List<String> getDtime() {
        return dtime;
    }

    public void setDtime(List<String> dtime) {
        this.dtime = dtime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getStationCode() {
        return stationCode;
    }

    public void setStationCode(Long stationCode) {
        this.stationCode = stationCode;
    }

    public Long getRtime() {
        return rtime;
    }

    public void setRtime(Long rtime) {
        this.rtime = rtime;
    }

    public Long getPointNumber() {
        return pointNumber;
    }

    public void setPointNumber(Long pointNumber) {
        this.pointNumber = pointNumber;
    }

    public Long getStartRtime() {
        return startRtime;
    }

    public void setStartRtime(Long startRtime) {
        this.startRtime = startRtime;
    }

    public Long getEndRtime() {
        return endRtime;
    }

    public void setEndRtime(Long endRtime) {
        this.endRtime = endRtime;
    }

    @Override
    public String toString() {
        return "DataTransferDTO{" +
                "dtime=" + dtime +
                ", type='" + type + '\'' +
                ", stationCode=" + stationCode +
                ", startRtime=" + startRtime +
                ", endRtime=" + endRtime +
                '}';
    }
}
